﻿<!DOCTYPE html>
<html lang="en">
<head>
    <title>宾果高校</title>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
    <link rel="stylesheet" href="/static/css/angularStyle.css" />
    <link rel="stylesheet" href="/static/css/swiper.min.css">
    <link rel="stylesheet" href="/static/css/index.css">
    <link rel="stylesheet" href="/static/css/sweetalert.min.css" />
    <!-- <script data-main="../js/main" src="../js/require.js" defer async="true"></script> -->
</head>
<body>
    <div class="header" id="header">
        <div class="container clearfix">
            <!-- <div class="logo"><img src="/static/images/logo.png" alt=""></div> -->
            <!-- <div class="city">
                <span>广州</span>
                <a href="javascript:void(0)">[切换城市]</a>
            </div> -->
            <div class="nav">
                <ul class="clearfix" id="nav-tab">
                    <li>
                        <div class="logo"><img src="/static/images/logo.png" alt=""></div>
                    </li>
                    <li>
                        <a href="/org.html?type=Company">
                            <p>社团</p><span>CORPORATION</span>
                        </a>
                    </li>
                    <li>
                        <a href="/org.html?type=Student">
                            <p>企业</p><span>ENTERPRISE</span>
                        </a>
                    </li>
                    <li>
                        <a href="/hotActivity.html">
                            <p>热门活动</p><span>POPULAR ACTIVITIES</span>
                        </a>
                    </li>
                    <li>
                        <a href="/agent.html">
                            <p>代理官</p><span>DEPUTY OFFICIAL</span>
                        </a>
                    </li>
                </ul>
            </div>
        </div>
    </div>
    <div class="main" ng-app="myApp">
        <div id="divCarousel"></div>
        <div class="container">
            <div style="padding-top:10px">
                <!--<div class="scroll-wrap" id="scrollingNew1">
                    <p class="scroll-w-content">1、恭喜广州大学动漫社团获得可口可乐公司赞助5000元筹办cos活动!</p>
                    <p class="scroll-w-content">2、恭喜广州大学动漫社团获得可口可乐公司赞助5000元筹办cos活动!</p>
                    <p class="scroll-w-content">3、恭喜广州大学动漫社团获得可口可乐公司赞助5000元筹办cos活动!</p>
                </div>
                <div class="scroll-wrap" id="scrollingNew2"></div>-->
            </div>
            <div class="association clearfix">
                <div class="association-prepare">
                    <div class="title">
                        <div class="clearfix">
                            <h2>社团筹备</h2>
                            <a href="/search.html">more</a>
                        </div>
                    </div>
                    <div class="line"></div>
                    <div class="prepare-main" ng-cloak>
                        <div ng-controller="studentProjectCtrl" ng-include="'/wuc/project.html'"></div>
                    </div>
                </div>

                <!--最新合作-->
                <div ng-cloak ng-controller="spMessageCtrl" ng-include="'/wuc/message.html'" class="indexAgent"></div>
                

            </div>
            <div class="sponsor clearfix">
                <div class="company-sponsor">
                    <div class="banner"><img src="/static/images/banner.jpg" alt=""></div>
                    <div class="title">
                        <div class="clearfix">
                            <h2>企业赞助</h2>
                            <a href="/search.html">more</a>
                        </div>
                    </div>
                    <div class="line"></div>
                    <div class="prepare-main" ng-cloak>
                        <div ng-controller="companyProjectCtrl" ng-include="'/wuc/project.html'"></div>
                    </div>
                </div>
                <!--宾果代理官-->
                <div ng-controller="agentCtrl" ng-include="'/wuc/agent.html'" class="indexAgent"></div>
            </div>
            <!--成功案例-->
            <div id="divCase"></div>
        </div>
    </div>
    <div id="divFooter"></div>
    <!--<div id="scrollTop" class="scrolltop">
        <p>回到顶部</p>
    </div>-->
    <script src="/static/js/ref/jquery-2.1.1.min.js"></script>
    <script src="/static/js/ref/swiper.min.js"></script>
    <script src="/static/js/self/common.js"></script>
    <script src="/static/js/ref/angular.min.js"></script>
    <script src="/static/js/ref/sweetalert.min.js"></script>
    <script>

        var app = angular.module('myApp', []);

        $("#divCarousel").load("/wuc/carousel.html");
        $("#divFooter").load("/wuc/footer.html");
        $("#divCase").load("/wuc/case.html");

        common.CreateController({ name: 'spMessageCtrl', url: '/api/project/ListSponsorMessage', objType: 'list', app: app });
        common.CreateController({ name: 'agentCtrl', app: app });
        common.CreateController({ name: 'companyProjectCtrl', url: '/api/project/List?type=Company&number=6', objType: 'list', app: app });
        common.CreateController({ name: 'studentProjectCtrl', url: '/api/project/List?type=Student&number=6', objType: 'list', app: app });

        $(document).ready(function () {

            $('.contactus').on('click', function () {
                alert('此功能暂时没有开放，敬请期待！')
            })
            $("#nav-tab li a").on('click', function () {
                var self = $(this).parent();
                self.siblings().removeClass('current');
                self.addClass().addClass('current');
            });

        });
    </script>
</body>
</html>